package com.lntea.crawler.picture.service;

import java.util.List;

import com.lntea.crawler.entity.Picture;
import com.lntea.crawler.picture.dao.PictureDao;

public class PictureServiceImpl implements PictureService{
	
	private PictureDao pictureDao;

	@Override
	public List<Picture> queryPictureByBannerDataId(Long bannerDataId) {
		return pictureDao.readByBannerDataId(bannerDataId);
	}

	public PictureDao getPictureDao() {
		return pictureDao;
	}

	public void setPictureDao(PictureDao pictureDao) {
		this.pictureDao = pictureDao;
	}

}
